﻿<UserControl x:Class="WindowsPhoneToolbox.Controls.ExplorerPhoneControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:res="clr-namespace:WindowsPhoneToolbox"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Focusable="True"
             d:DesignHeight="300" d:DesignWidth="300" Height="Auto" Name="ExplorerIso">
    <UserControl.Resources>
        <Image x:Key="ImgCopy" Source="/WindowsPhoneToolbox;component/Resources/Transfer.ico" Width="16" Height="16" />
        <Image x:Key="ImgDelete" Source="/WindowsPhoneToolbox;component/Resources/remove.ico" Width="16" Height="16"/>
        <Image x:Key="ImgDeleteFiles" Source="/WindowsPhoneToolbox;component/Resources/DeleteFiles.ico" Width="16" Height="16"/>
        <Image x:Key="ImgAdd" Source="/WindowsPhoneToolbox;component/Resources/Add.ico" Width="16" Height="16"/>
        <Image x:Key="ImgRefresh" Source="/WindowsPhoneToolbox;component/Resources/Refresh.ico" Width="16" Height="16"/>
        <Image x:Key="ImgRun" Source="/WindowsPhoneToolbox;component/Resources/Launch.ico" Width="16" Height="16"/>
        <Image x:Key="ImgNewDir" Source="/WindowsPhoneToolbox;component/Resources/NewFoder.ico" Width="16" Height="16"/>
        <Image x:Key="ImgRename" Source="/WindowsPhoneToolbox;component/Resources/Rename.ico" Width="16" Height="16"/>
    </UserControl.Resources>
    <Grid>
        <StackPanel Orientation="Vertical">
            <CheckBox x:Name="ChkAppRun" Click="ChkAppRunClick">
                <CheckBox.Content>
                    <TextBlock Text="{Binding Source={x:Static res:Resources.XChkAskClose}}" TextWrapping="Wrap" FontSize="10" />
                </CheckBox.Content>
            </CheckBox>
            <StackPanel Orientation="Horizontal" Margin="0,5,0,0" VerticalAlignment="Center">
                <TextBlock x:Name="DateUpdate" Text="{Binding Source={x:Static res:Resources.LastUpdate}}" FontSize="12" VerticalAlignment="Center" Margin="0,0,8,0" />
                <Button x:Name="BntRefresh" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0" ToolTip="{Binding Source={x:Static res:Resources.XRefreshIso}}" Click="BntRefreshClick" Focusable="False">
                    <Button.Content>
                        <Image Source="/WindowsPhoneToolbox;component/Resources/Refresh.ico" Width="18" Height="18" />
                    </Button.Content>
                </Button>
            </StackPanel>
            <TextBlock Text="{Binding Source={x:Static res:Resources.XNoteExpl}}" Foreground="Red" TextWrapping="Wrap" TextAlignment="Justify" FontSize="10" Margin="0,5,0,0"/>
            <StackPanel x:Name="StackSeleted" Orientation="Horizontal"  Margin="0,5,0,0">
                <TextBlock x:Name="ActCopysel" Text="{Binding Source={x:Static res:Resources.XCopySelItems}}" Margin="0,0,10,0" Foreground="{StaticResource {x:Static SystemColors.HotTrackBrushKey}}" MouseEnter="ActselectMouseEnter" MouseLeave="ActselectMouseLeave" Cursor="Hand" MouseLeftButtonUp="ActCopyselMouseLeftButtonUp" ToolTip="{Binding Source={x:Static res:Resources.XActTooltipCopSel}}" ></TextBlock>
                <TextBlock x:Name="ActDeletesel" Text="{Binding Source={x:Static res:Resources.XDeleteSelItems}}" Margin="0" Foreground="{StaticResource {x:Static SystemColors.HotTrackBrushKey}}" MouseEnter="ActselectMouseEnter" MouseLeave="ActselectMouseLeave" Cursor="Hand" MouseLeftButtonUp="ActDeleteselMouseLeftButtonUp" ToolTip="{Binding Source={x:Static res:Resources.XActTooltipDelSel}}" ></TextBlock>
            </StackPanel>
            <TreeView x:Name="TreeView" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0" Margin="0,5,0,0">
            </TreeView>
        </StackPanel>
    </Grid>
</UserControl>
